package com.example.lock.mapper;

import com.example.lock.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * StudentMapper继承基类
 */
//@Mapper
public interface StudentMapper {

    List<Student> selectAll();

    int deleteByPrimaryKey(Long sid);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Long sid);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
}